#ifndef NETWORKDATA_H
#define NETWORKDATA_H

#include "../observer/data.h"
#include <QString>

enum{
    TCPCONNECTED=1,
    UDPCONNECTED,
    SERVERLISTEN,
    CLOSED
};

class NetworkData : public Data
{
public:
    NetworkData();
    NetworkData(int state,const QString& data);
    ~NetworkData();

    int m_state;
    QString m_data;
};

#endif // NETWORKDATA_H
